.middle-card {
    padding: 10px 15px;
    overflow: hidden;
    height: calc(100% - 50px);
    overflow-y: auto;
}